﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.DynamicData.ModelProviders;

namespace Mpu.NHibernateDataModelProvider.ColumnProviders
{
    public class NHibernateSimpleValueColumnProvider : NHibernateColumnProviderBase
    {
        public NHibernateSimpleValueColumnProvider(TableProvider table, NHibernate.Mapping.Column column)
            : base(table)
        {
            this.Name = column.Name;
            this.ColumnType = column.Value.Type.ReturnedClass;
        }
    }
}
